/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package java24hours;

/**
 *
 * @author jiangkai
 */
import java.awt.*;

public class applet extends javax.swing.JApplet{
    String greeting;
    public void init(){
        greeting ="test applet";
        
    }
    @Override
    public void paint(Graphics screen){
        Graphics2D screen2D=(Graphics2D) screen;
        screen2D.drawString(greeting, 25, 40);
        
    }
}
